package com.cpj.bsyyzx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cpj.bsyyzx.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 五个臭皮匠
 * @since 2021-05-09
 */
public interface IPermissionService extends IService<Permission> {
    Page pagelist(Page page,Permission permission);
    Object list(Permission permission,Page page);
    boolean add(Permission permission);
    List<Permission> userPermissionList(Integer accId);
    List<Permission> userPermissionListValidate(Integer accId);
}
